<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登记审批页面</title>
	<link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css">
<style type="text/css">
	li{
		margin: 0px 100px;
	}
	
</style>
</head>
<body>
	<!-- 顶部导航条begin -->
	<nav class="navbar navbar-inverse">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#" id="add">资料录入</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li ><a href="#" id="a1">审核</a></li>
        <li><a href="#" id="a2">缮证</a></li>
        <li><a href="#" id="a3">归档</a></li>
        <li><a href="#" id="a4">收费</a></li>
        <li><a href="#" id="a5">发证</a></li>       
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
<!-- 顶部导航条end -->
<div id="div_body"></div>
<script type="text/javascript"  src="${pageContext.request.contextPath}/js/jquery-1.12.3.min.js"></script>
<script type="text/javascript"  src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
<script type="text/javascript">
	//资料录入
	$("#add").click(function(){
		$.ajax({
			url:"add.jsp",
			type:"post",
			success:function(data){
				$("#div_body").html(data);
			}
		});
	});
	
	//审核
	$("#a1").click(function(){
		//alert("a1");
		 $.ajax({
			url:"add1.jsp",
			type:"post",
			success:function(data){
				$("#div_body").html(data);
			}
		});
	});
	
	//缮证
	$("#a2").click(function(){
		//alert("a2");
		 $.ajax({
			url:"add2.jsp",
			type:"post",
			success:function(data){
				$("#div_body").html(data);
			}
		});
	});
	
	//归档
	$("#a3").click(function(){
		//alert("a3");
		$.ajax({
			url:"add3.jsp",
			type:"post",
			success:function(data){
				$("#div_body").html(data);
			}
		});
	});
	
	//收费
	$("#a4").click(function(){
		//alert("a4");
		$.ajax({
			url:"add4.jsp",
			type:"post",
			success:function(data){
				$("#div_body").html(data);
			}
		});
	});
	
	//发证
	$("#a5").click(function(){
		//alert("a5");
		$.ajax({
			url:"add5.jsp",
			type:"post",
			success:function(data){
				$("#div_body").html(data);
			}
		});
	});
</script>
</body>
</html>